﻿namespace sixgod.Enum
{
    /// <summary>
    /// 节点类型
    /// </summary>
    public enum NodeTypeEnum
    {
        /// <summary>
        /// 审核
        /// </summary>
        Audit = 0,
        /// <summary>
        /// 抄送
        /// </summary>
        CarbonCopy = 1,
        /// <summary>
        /// 开始
        /// </summary>
        Start = 2,
        /// <summary>
        /// 结束
        /// </summary>
        End = 3
    }

    /// <summary>
    /// 审核模式
    /// </summary>
    public enum AuditModeEnum
    {
        /// <summary>
        /// 全部都需要审核
        /// </summary>
        All = 0,

        /// <summary>
        /// 一个通过则通过
        /// </summary>
        OnlyOne = 1
    }

    public enum AuditerEnum
    {
        /// <summary>
        /// 根据职位自动获取审核人
        /// </summary>
        Job = 0,

        /// <summary>
        /// 指定审核人
        /// </summary>
        Person = 1,

        /// <summary>
        /// 根据部门自动获取审核人
        /// </summary>
        Department = 2
    }

    /// <summary>
    /// 节点操作
    /// </summary>
    public enum NodeOperationEnum
    {
        /// <summary>
        /// 同意
        /// </summary>
        Agree = 0,
        /// <summary>
        /// 拒绝
        /// </summary>
        Reject = 1,
        /*/// <summary>
        /// 开始
        /// </summary>
        Start = 3,
        /// <summary>
        /// 结束
        /// </summary>
        End = 4*/
    }
}